package com.campsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("camp_course_student")
public class CourseStudent {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long courseId;
    
    private Long studentId;
    
    private LocalDateTime joinTime;
    
    private Integer status;  // 0-退出，1-正常
} 